package com.demo.demo.weixin;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Copyright
 *
 * @Author WuHuang
 * @Date 2022/9/29
 */
@RestController
@RequestMapping("wechat")
public class WechatController {

    @Resource
    private MyWeChatApi myWeChatApi;

    @RequestMapping("login")
    public void login(){
        myWeChatApi.login(Boolean.FALSE);
    }
}




